
<!--Login modal -->
<div class="modal fade" id="login_pop" role="dialog">
	<div class="modal-dialog"  style="min-width:60%; ">
    	<div class="modal-content" style="min-height:470px;">
            <div class="modal-body"> 
                
                     <div class="col-md-6">
                        <div class="panel panel-default" style="min-height:400px;">
                            <div class="panel-heading">
                                <center><h4>Sign in</h4></center>
                            </div>
                            <form name="signIn_form" action="#" method="POST"> 
                                <br><!--<br><br> when no alert -->
                                <div id="con"></div>
                                <div class="input-group" style="width:90%; margin:20px;">
                                        <input  id="mail" type="text" required="required" class="form-control" placeholder="EMAIL" aria-describedby="basic-addon2">
                                        <span  class="input-group-addon" id="basic-addon2">@ucp.edu.pk</span>
                                </div>
                                <input  id="pass" placeholder="PASSWORD" style="width:90%; margin:20px;" required="required"  type="password" class="form-control">

                                 <div style="margin-left:45%;"><input type="button" id="btn"  value="Sign in"  class="btn btn-primary"></div>
                                <a style="margin-left:10%;" class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseContact">
                                   Forgot Password?
                                </a>
                                <div style="width:80%; margin:20px;" id="collapseContact" class="panel-collapse collapse">
                                    <form action="<?php echo site_url('accountController/forgot_pass'); ?>" method="post">
                                    <label>
                                        Enter Your Email Address:
                                         <input type="text" name="email" required="required" class="form-control">
                                    </label><br>
                                    
                                    <input type="submit" class="btn btn-primary" value="Retrive">
                                    </form>
                                </div>
                                 
                            </form> 
                            <br><br>
                        </div>
                      </div>

                    <div class="col-md-6">
                        <div class="panel panel-default" style="height:400px;">
                                <div class="panel-heading">
                                    <center><h4>Sign up</h4></center>
                                </div>
                            <?php echo validation_errors(); ?>
                                <form name="myform" action="<?php echo base_url('accountController/sign_up'); ?>" onSubmit="return email_valid();" method="post"  enctype="multipart/form-data"> 
                                    <div id="result">
                                    </div>  
                                    <div class="input-group" style="width:90%; margin:20px;">
                                        <input  name="email" type="text" required="required" class="form-control" onkeyup="return email_valid();"  placeholder="Email" aria-describedby="basic-addon2">
                                        <span  class="input-group-addon" id="basic-addon2">@ucp.edu.pk</span>
                                </div>
                                    <input placeholder="Name" name="name" value="<?php echo set_value('name'); ?>" style="width:50%; margin:20px;" required="required"  type="text" class="form-control">
                                    <input placeholder="Contact No" name="number" value="<?php echo set_value('number'); ?>" style="width:50%; margin:20px;"  required="required" type="text" class="form-control">
                                    <input style="width:50%; margin:20px;" required="required"  type="file" size="20" name="userfile">
                                    <div style="margin-left:45%;"><input type="submit" value="SignUp"  class="btn btn-primary"></div>  
                               </form> 

                        </div>
                    </div>
                </div> 
            </div>        
        </div>
    </div>